home *** CD-ROM | disk | FTP | other *** search
- @REM SETUP.BAT; Graphcat/Windows 1.0
- @REM Copyright 1993 Jerry Stern--All Rights Reserved, 3/93
- @echo off
- cls
- if not exist graphwin.doc goto baddir
- if not exist graphcat.dll goto baddir
- if not exist index.wcm goto baddir
- if "%1"=="" goto info
- if "%2"=="" goto info
- if not exist %2\*.* goto nomac
- if not exist %1\*.* goto new
- ECHO Upgrade Installation to Windows version
- ECHO Your DOS version graphics and docs will not be replaced.
- goto more
- :new
- ECHO New Installation of version 1.0
- :more
- ECHO ...
- ECHO Files for GRAPHCAT 1.0 for WP/Windows will now be copied:
- ECHO Macros and the GRAPHCAT.DLL file will be copied to %2
- ECHO A partial set of the instructions and graphics will be copied
- ECHO to the directory %1. You will need about 230K of free space.
- ECHO ...
- ECHO Press any key to proceed with installation, or Control-C to stop now.
- pause > nul
- copy *.wcm %2
- copy graphcat.dll %2
- if not exist %1\*.* md %1
- copy *.doc %1\*.*
- copy *.wpg %1\*.*
- copy readme.now %1\*.*
- copy printman.bat %1\*.*
- copy fileindx.* %1\*.*
- copy name.ndx %1\*.*
- ECHO Done...
- ECHO If you haven't already,
- ECHO run PRINTMAN.BAT for instructions on printing the manual.
- goto end
- :nomac
- ECHO Graphcat/Windows 1.0 Installation
- ECHO The directory that you have chosen to copy the macros and DLL file to
- ECHO is empty or doesn't exist. Please check the name, and try again.
- goto end
- :baddir
- ECHO Graphcat/Windows 1.0 Installation
- ECHO You must start this installation by logging to the drive and directory
- ECHO where the files are currently located. When you run SETUP from that
- ECHO directory, it will help you find the correct startup command to
- ECHO install your software.
- goto end
- :info
- ECHO Graphcat/Windows 1.0 Installation
- ECHO Start SETUP.BAT with the new directory name to make for
- ECHO storing Graphcat instructions and graphics, and the name
- ECHO of the macro directory used by WordPerfect, usually
- ECHO c:\wpwin\macros or c:\wpwin.
- ECHO ...
- ECHO If you don't know where WP/WIN keeps your macros,
- ECHO choose File, Preferences, Location of Files, and write
- ECHO down the entry under "Macros/Keyboards/Button Bars" and
- ECHO enter it from the DOS prompt. (Press Escape to return to
- ECHO the document screen.)
- ECHO ...
- ECHO For example:
- ECHO SETUP c:\graphcat c:\wpwin\macros
- ECHO (Copies package to c:\graphcat, using c:\wpwin\macros for macros.)
- :end
- PAUSE